package appapi.dto.bridge;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Optional;

/**
 * 设备上传告警信息对象
 *
 * @author luocheng
 * @version 1.0
 * @date 2023/09/14 17:19
 */
@Data
public class DeviceAlarmDto {
    @ApiModelProperty(value = "告警内容")
    private String detail;
    @ApiModelProperty(value = "告警对象")
    private String source;
    @ApiModelProperty(value = "告警级别")
    private Integer level;
    @ApiModelProperty(value = "告警产生时实际值 带单位")
    private Optional<String> value;
    @ApiModelProperty(value = "力矩百分比")
    private Optional<String> rate;
}
